package com.example.dubbo.api.provider;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@ImportResource({"classpath:dubbo/dubbo-provider.xml"})
@ComponentScan(basePackages = {"com.example"})
public class DubboDemoApiProviderApplication {

    public static void main(String[] args) {
        SpringApplication.run(DubboDemoApiProviderApplication.class, args);
    }

}
